package com.ruoyi.admin.domain.vo.request.scheduling;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Shenjh
 * @version 1.0.0
 * @title ScheduingExcel
 * @description 导出实体类
 * @date 2023/5/5 10:59
 */
@Data
public class SchedulingExcel {

    @Excel(name = "货号")
    private String article;

    /**
     * 客户供应商id
     */
    @ApiModelProperty(hidden = true)
    private Long supplierId;

    @Excel(name = "客户名称")
    private String supplier;

    /**
     * 订单编号
     */
    @ApiModelProperty(hidden = true)
    @Excel(name = "订单编号")
    private String orderNumber;

    /**
     * 类型1采购 2销售
     */
    @ApiModelProperty(hidden = true)
    @Excel(name = "类型",readConverterExp = "1=采购,2=销售")
    private String type;

    /**
     * 码数
     */
    @ApiModelProperty(hidden = true)
    @Excel(name = "码数")
    private String size;

    /**
     * 数量
     */
    @ApiModelProperty(hidden = true)
    @Excel(name = "数量")
    private Long number;

    /**
     * 单价
     */
    @ApiModelProperty(hidden = true)
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 总价
     */
    @ApiModelProperty(hidden = true)
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /**
     * 状态（0正在处理 1已处理 2已撤销）
     */
    @ApiModelProperty(hidden = true)
    @Excel(name = "状态",readConverterExp ="0=正在处理,1=已处理,2=已撤销")
    private String status;
}
